<template>
  <el-card class="box-card3">
    <template #header>
      <div class="card-header1">
        <span>粉丝</span>
      </div>
    </template>
    <div v-for="o in 4" :key="o" class="text item">
      <br />
      <br />
      <div class="name" @click="chek">
        <el-avatar :size="50" :src="state.circleUrl" /><text>{{
          '豆瓣冲浪酱'
        }}</text>
      </div>
      <br />
    </div>
    <br />
  </el-card>
</template>

<script setup>
import { reactive } from 'vue'

const state = reactive({
  circleUrl:
    'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png'
})
function chek() {
  state.circleUrl = ''
}
</script>

<style lang="scss">
.card-header1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text {
  font-size: 14px;
}

.item {
  margin-bottom: 18px;
}

.box-card3 {
  width: 480px;
}
.name {
  align-items: center;
  float: left;
  display: flex;
  height: 50px;
  margin-top: -30px;
  font-family: '黑体';
  color: #000000;
  font-size: large;
}
</style>
